import { request, config } from 'utils'

const { api } = config
const { transactionStatisticsExcel, transactionStatisticsSum } = api


export async function sum (params) {
  return request({
    url: transactionStatisticsSum,
    method: 'put',
    data: params,
  })
}

export async function excel (params) {
  return request({
    url: transactionStatisticsExcel,
    method: 'post',
    data: params,
  })
}

